package cn.iotab.iotkit.transport.api.common.message;

import cn.iotab.iotkit.transport.api.common.message.msg.CommonPayload;
import cn.iotab.iotkit.transport.api.common.message.msg.up.SessionEvent;
import cn.iotab.iotkit.transport.api.common.message.msg.up.SessionInfo;
import cn.iotab.iotkit.transport.api.common.message.msg.up.SessionReportInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 发送给Core的消息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ToServerMessage implements TransportMsg {

    /**
     * 基本信息，必带
     */
    private SessionInfo sessionInfo;

    private SessionEvent sessionEvent;

    private SessionReportInfo sessionReportInfo;

    private CommonPayload fromDeviceRequest;

    private CommonPayload fromDeviceResponse;
}
